// 自适应代码
(function(doc, win) {
	var docEl = doc.documentElement;
	var run = function() {
		var clientWidth = docEl.clientWidth;
		if(!clientWidth) return;
		if(clientWidth <= 750) {
			docEl.style.fontSize = 23 / 375 * clientWidth + "px";
		} else {
			docEl.style.fontSize = 46 + 'px';
		}
	}
	if(!doc.addEventListener) return;
	var resizeEvt = 'orientationchange' in window ? 'orientationchange' : "resize";
	window.addEventListener(resizeEvt, run, false);
	doc.addEventListener("DOMContentLoaded", run, false);
})(document, window);
